/**
 * Created by lin on 2017/6/25.
 */
$(function () {
    /*baner轮播高度*/
    var initImgWidth = 1900;
    var initImgHeight = 500;

    var windowsWigth = $("body").width();
    var imgWidth = windowsWigth;
    var imgHeight = parseInt(windowsWigth*initImgHeight/initImgWidth);
    $(".wb-banner").height(imgHeight);
    $(".wb-banner-img").height(imgHeight);
    $(".wb-banner-img").width(imgWidth);
})